//
//  BaseView.h
//  WhiteNoise
//
//  Created by 王亮 on 2020/8/11.
//  Copyright © 2020 liang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "BaseViewModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface BaseView : UIView
/**
 * 初始化view，并绑定vm
 */
- (instancetype)initWithViewModel:(BaseViewModel *)viewModel;

@property (nonatomic, strong) BaseViewModel *viewModel;

@end

NS_ASSUME_NONNULL_END
